/**
 * 完善资料状态管理
 */

 export const state = ()=>{
   return {
     step:'complete_info',
     pageInfo:{},
     isOrg:false, //是否机构
   }
 }

 export const mutations = {
   setStep(state,step){
     state.step = step
   },
   setOrg(state,org){
     state.isOrg = !!org;
   },
   setPageInfo(state,info){
    state.pageInfo = info || {}
   }
 }
